import request from "@/utils/request";
import type {SpuCategoryVO} from "@/api/serve/re-market/category/type";

enum API{
    SPU_CATEGORY = "/serve/re-market/spu-category",
    SPU_CATEGORY_TREE_LIST = "/serve/re-market/spu-category/tree-list",
}


export function reqGetSpuCategoryTreeList() {
    return request<SpuCategoryVO[]>({
        url: API.SPU_CATEGORY_TREE_LIST,
        method: "get",
    })
}

